package com.eight.travel.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

@Data
@TableName(value = "foodrestaurant")
public class Foodrestaurant {
    @TableId(type = IdType.AUTO)
    @ApiModelProperty(value = "餐厅")
    private int faid;
    @ApiModelProperty(value = "餐厅姓名")
    private String faname;
    @ApiModelProperty(value = "餐厅地址")
    private String foodaddress;
    @ApiModelProperty(value = "餐厅信息")
    private String fainfo;
    @ApiModelProperty(value = "营业状态")
    private int status;
    @ApiModelProperty(value = "id")
    private int fid;
    @ApiModelProperty(value = "餐厅图片")
    private String frestpicture;
    @ApiModelProperty(value = "")
    @TableField(exist = false)
    private List<Foodcomment> foodcomment;

}
